<?php

    //type返回的详情
    
    switch ($data['type']) {
        
        case "delChat": //返回删除的信息详情的list
            $data=[chatDetails];
        break;
        default:    
        break;
    }
?>